<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>设置</title>
  <style>
    body {
      padding: 20px;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
    .container {
      max-width: 500px;
      margin: 0 auto;
    }
    .form-group {
      margin-bottom: 20px;
    }
    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }
    input[type="text"], select {
      width: 100%;
      padding: 8px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 14px;
    }
    button {
      background: #4285f4;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 14px;
    }
    button:hover {
      background: #3367d6;
    }
    .status {
      margin-top: 15px;
      padding: 10px;
      border-radius: 4px;
      display: none;
    }
    .success {
      background: #e6f4ea;
      color: #137333;
    }
    .error {
      background: #fce8e6;
      color: #c5221f;
    }
  </style>
</head>
<body>
  <div class="container">
    <h1>设置</h1>
    <div class="form-group">
      <label for="apiKey">通义千问 API Key</label>
      <input type="text" id="apiKey" placeholder="请输入你的API Key">
    </div>
    <div class="form-group">
      <label for="modelSelect">选择模型</label>
      <select id="modelSelect">
        <option value="qwen-turbo">通义千问-Turbo</option>
        <option value="qwen-max">通义千问-Max</option>
      </select>
    </div>
    <button id="save">保存</button>
    <div id="status" class="status"></div>
  </div>
  <script src="options.js"></script>
</body>
</html> 